package cn.chinaunicom.sdsi.gacx.sys.service;

import cn.chinaunicom.sdsi.gacx.sys.entity.GaSendMessEntity;
import net.sf.json.JSONObject;
import java.util.*;

public interface GaSendMessService{

	/**
	 * 分页查询
	 */
	JSONObject search4PageList(GaSendMessEntity gaSendMessEntity,Integer start, Integer length);
	/**
	 * 查询单条数据
	 */
	GaSendMessEntity selectByPrimaryKey(GaSendMessEntity gaSendMessEntity);
	/**
	 * 删除单条数据
	 */
	int deleteByPrimaryKey(GaSendMessEntity gaSendMessEntity);
	/**
	 * 保存数据
	 */
	int addObject(GaSendMessEntity gaSendMessEntity);
	/**
	 * 修改单条数据
	 */
	int updateByPrimaryKey(GaSendMessEntity gaSendMessEntity);

	/**
     * 保存数据
     */
    void addMessages(String content,List<String> to_nums,String send_num,String remark,String status);
}